home *** CD-ROM | disk | FTP | other *** search
- /*
- File: DocumentWindow.h
-
- Contains: An abstract base class for document-backed windows
-
- Written by: Dave Falkenburg
-
- Copyright: © 1994-95 by Dave Falkenburg, all rights reserved.
-
- Change History (most recent first):
-
- <1> 1/3/95 DRF First checked in.
- */
- #ifndef _SPROCKET_DOCUMENTWINDOW_
- #define _SPROCKET_DOCUMENTWINDOW_
-
- #include "Window.h"
- #include "Document.h"
-
-
- class TDocumentWindow : public TWindow
- {
- protected:
- TDocumentWindow(TDocument *backingDocument);
- public:
- virtual void Activate(Boolean activating);
-
- virtual Boolean Close(void);
-
- virtual Boolean DoMenuCommand(MenuCommandID menuCommand);
-
- protected:
- TDocument * fDocument;
- };
-
- #endif
-